#define   _CRT_SECURE_NO_WARNINGS  1
#include<stdio.h>
int main()
{
	int a, c, d;
	for (a = 1; a <= 9; a++)
	{
		for (c = 1; c <= a; c++)

		{
			d = a * c;

			printf("%d * %d = %d\n", c, a, d);
		}
		printf("\n");
	}
	

	return 0;
}
